<html xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui" >

    <ui:composition template="layout.xhtml">
        <ui:define name="corpo">
            <h:form  id="criarAtoTipo" > 
                <div id="breadcrumb">
                    <p:commandLink  actionListener="#{managerIndex.redirect('index.xhtml')}" value="Inicio" update="@form" immediate="true"/> >
                    <p:commandLink  actionListener="#{managerIndex.redirect('config.xhtml')}" value="Configurações" update="@form" immediate="true"/> >
                    <p:commandLink  actionListener="#{managerIndex.redirect('indexAto.xhtml')}" value="Ato" update="@form" immediate="true"/> >
                    <p:commandLink  value="Cadastrar Tipo do Ato" update="@form" immediate="true"/>
                </div>
                <p:panel header="Tipo Ato">                        
                  <p:messages id="msg"/>
                    <fieldset>
                        <legend>Dados do Tipo de Ato</legend>
                        <h:panelGrid  columns="2" border="0" styleClass="textAlignRightBold">
                            <h:outputText value="Descrição : "/>
                            <h:outputText  value="#{managerVisualizarAtoTipo.atoTipo.descricao}" /> 
                        </h:panelGrid>
                    </fieldset>
                <br/>
                <center>
                    <p:commandButton id="cancelar" icon="ui-icon-arrowreturnthick-1-w" value="Cancelar" actionListener="#{managerVisualizarAtoTipo.redirect('indexAtoTipo.xhtml')}" immediate="true" />
                    
                </center>
                </p:panel>
            </h:form>     
        </ui:define>
    </ui:composition>
</html>

